package com.example.calculatorApp.mapper;


import com.example.calculatorApp.controller.request.resouceRequest;
import com.example.calculatorApp.entity.Resouce;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ResouceMapper {
    List<Resouce> getList(resouceRequest resouceRequest);
    void save(Resouce resouce);

    void deleteById(Integer id);

    void updateById(Resouce resouce);
}
